package com.erp.order.mapper;

import com.erp.order.domain.ErpWarehouseOrderInfo;
import com.erp.order.domain.vo.ErpWarehouseOrderInfoVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 线上物流订单信息Mapper接口
 *
 * @author erp
 * @date 2023-04-24
 */
public interface ErpWarehouseOrderInfoMapper extends BaseMapperPlus<ErpWarehouseOrderInfoMapper, ErpWarehouseOrderInfo, ErpWarehouseOrderInfoVo> {

    List<ErpWarehouseOrderInfo> queryListByOrderCode(@Param("orderCodeList") String orderCodeList, @Param("userNick") String userNick);

    List<ErpWarehouseOrderInfo> getWarehouseOrderByChildIds(@Param("childOrderIdlist") List<String> childOrderIdlist);

    List<ErpWarehouseOrderInfo> getWarehouseOrderByOrderIds(@Param("orderIdList") List<String> orderIdList);

    List<ErpWarehouseOrderInfo> synchronizationWareOrder();
}
